package com.ruoyi.market.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CouponGroupFlatDto {
    private Long couponGroupId;
    private String couponGroupName;
    private Long couponId;
    private String couponName;
    private String couponCode;
    private Integer couponType;
    private BigDecimal couponValue;
    private BigDecimal couponMinAmount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date couponStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date couponEndTime;
}